package valeria.model;

public class SubjetVO {
//멤버변수
	private int subjectNo;
	private String subject;
	private String outline;
	private int profNo;
	
//생성자
	public SubjetVO(int subjectNo,String subject,String outline,
			int profNo) {
		this.subjectNo=subjectNo;
		this.subject=subject;
		this.outline=outline;
		this.profNo=profNo;
	}
	//setter 규칙
	//private String xxx;
	//public void setXxx(String xxx){this.xxx=xxx;}
	public void setSubjectNo(int subjectNo){this.subjectNo=subjectNo;}
	public void setSubject(String subject){this.subject=subject;}
	public void setOutline(String outline){this.outline=outline;}
	public void setProfNo(int profNo){this.profNo=profNo;}
	//getter
	//private xxx yyy;
	//public xxx getYyy(){return yyy;}
	public int getSubjectNo(){return subjectNo;}
	public String getSubject(){return subject;}
	public String getOutline(){return outline;}
	public int getProfNo(){return profNo;}
	
	@Override
		public String toString() {
			String result="";
			result+=subjectNo+"/"+subject+"/"+outline+"/"+profNo;
					return result;
		}
}